package com.qf.dao;

import com.qf.pojo.vo.QfOrder;
import io.swagger.models.auth.In;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface OrderRepository extends JpaRepository<QfOrder, String> {

    //select * from qf_order where endtime<now time and status=3;
    List<QfOrder> findByEndTimeAfterAndOrderStatus(Date time, Integer status);
}
